8434c55aaf7d9d1aae65f4134177a1f4adb54d9e,src/net/rithms/riot/api/RiotApi.java,RiotApi,getDataChampionList,#Region#String#String#boolean#ChampData#,578
Before Change
public net.rithms.riot.api.endpoints.static_data.dto.ChampionList getDataChampionList(Region region, String locale, String version, boolean dataById,
ChampData... champData) throws RiotApiException {
Objects.requireNonNull(region);
return StaticDataApi.getDataChampionList(getConfig(), region, locale, version, dataById, champData);
}
/**
After Change
* If the API returns an error or unparsable result
* @see net.rithms.riot.api.endpoints.static_data.dto.ChampionList
*/
public net.rithms.riot.api.endpoints.static_data.dto.ChampionList getDataChampionList(Region region, String locale, String version, boolean dataById,
ChampData... champData) throws RiotApiException {
Objects.requireNonNull(region);
ApiMethod method = new GetDataChampionList(getConfig(), region, locale, version, dataById, champData);
return endpointManager.callMethodAndReturnDto(method);
}
/**